import request from '@/utils/request'

export function listpackInv(query) {
  return request({
    url: '/container/packInv/list',
    method: 'get',
    params: query
  })
}

export function createpackInv(data) {
  return request({
    url: '/container/packInv/create',
    method: 'post',
    data
  })
}

export function readpackInv(data) {
  return request({
    url: '/container/packInv/get/' + data.id,
    method: 'get'
  })
}

export function updatepackInv(data) {
  return request({
    url: '/container/packInv/update',
    method: 'post',
    data
  })
}

export function deletepackInv(data) {
  return request({
    url: '/container/packInv/delete/' + data.id,
    method: 'delete'
  })
}
